package com.wider.mapper;

import com.wider.pojo.BaseData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface BaseDataMapper {

    int insertBaseDataT(@Param("baseDataList") List<BaseData> baseDataList,@Param("caseName")String caseName);

    List<BaseData> getBaseData(@Param("startTime") LocalDateTime startTime, @Param("endTime")LocalDateTime endTime,@Param("caseName")String caseName);

    BaseData getFirstBaseData(@Param("caseName")String caseName);

    BaseData getFinallyBaseData(@Param("caseName")String caseName);

    BaseData getNextBaseData(@Param("startTime") LocalDateTime startTime, @Param("caseName")String caseName);
}
